/*
 * DungeonEnterLimitLevel.h
 *
 *  Created on: 2014. 2. 27.
 *      Author: zenoniaonline
 */

#ifndef PROJECTZ_NRESOURCE_DUNGEONENTERLIMITLEVEL_H_
#define PROJECTZ_NRESOURCE_DUNGEONENTERLIMITLEVEL_H_

#include <map>

namespace ProjectZ { namespace NResource {

class DungeonEnterLimitLevel
{
public:
	struct Flyweight
	{
		int _DUNGEON_TID;
		int _LEVEL;
	};

public:
	DungeonEnterLimitLevel();
	virtual ~DungeonEnterLimitLevel();

	bool 		LoadResource();
	int 		GetLevel(int nDungeonTID);

private:
	typedef 	std::map<int, Flyweight *>	DATATREE;
	DATATREE	_clsFlyTree;
};

} /*NResource*/ } /* namespace ProjectZ */

#endif /* PROJECTZ_NRESOURCE_DUNGEONENTERLIMITLEVEL_H_ */
